package com.ltkj.shop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.TreeEntity;

/**
 * 邮费配置对象 shop_postage_config
 * 
 * @author xupf
 * @date 2023-08-30
 */
@ApiModel(value = "邮费配置")
public class ShopPostageConfig extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 邮费配置id */
    @ApiModelProperty("邮费配置id")
    private Long id;

    /** 省名称 */
    @Excel(name = "省名称")
    @ApiModelProperty("省名称")
    private String provinceName;

    /** 市名称 */
    @Excel(name = "市名称")
    @ApiModelProperty("市名称")
    private String cityName;

    /** 区/县名称 */
    @Excel(name = "区/县名称")
    @ApiModelProperty("区/县名称")
    private String countyName;

    /** 省编码 */
    @ApiModelProperty("省编码")
    private String province;

    /** 市编码 */
    @ApiModelProperty("市编码")
    private String city;

    /** 区/县编码 */
    @ApiModelProperty("区/县编码")
    private String county;

    /** 行政区域编码 */
    @ApiModelProperty("行政区域编码")
    private String regionCode;

    /** 行政区域名称 */
    @Excel(name = "行政区域名称")
    @ApiModelProperty("行政区域名称")
    private String regionName;

    /** 费用 */
    @Excel(name = "费用")
    @ApiModelProperty("费用")
    private BigDecimal cost;

    /** 逻辑删除 */
    @ApiModelProperty("逻辑删除")
    private String isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setCountyName(String countyName) 
    {
        this.countyName = countyName;
    }

    public String getCountyName() 
    {
        return countyName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setRegionCode(String regionCode) 
    {
        this.regionCode = regionCode;
    }

    public String getRegionCode() 
    {
        return regionCode;
    }
    public void setRegionName(String regionName) 
    {
        this.regionName = regionName;
    }

    public String getRegionName() 
    {
        return regionName;
    }
    public void setCost(BigDecimal cost) 
    {
        this.cost = cost;
    }

    public BigDecimal getCost() 
    {
        return cost;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("provinceName", getProvinceName())
            .append("cityName", getCityName())
            .append("countyName", getCountyName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("regionCode", getRegionCode())
            .append("regionName", getRegionName())
            .append("cost", getCost())
            .append("isDel", getIsDel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
